Optimal. Leaf size=163 \[ \frac{b^2 \log (a+b x)}{(b c-a d) (b e-a f) (b g-a h)}-\frac{d^2 \log (c+d x)}{(b c-a d) (d e-c f) (d g-c h)}+\frac{f^2 \log (e+f x)}{(b e-a f) (d e-c f) (f g-e h)}-\frac{h^2 \log (g+h x)}{(b g-a h) (d g-c h) (f g-e h)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.211911, antiderivative size = 163, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 29, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.034, Rules used = {180} \[ \frac{b^2 \log (a+b x)}{(b c-a d) (b e-a f) (b g-a h)}-\frac{d^2 \log (c+d x)}{(b c-a d) (d e-c f) (d g-c h)}+\frac{f^2 \log (e+f x)}{(b e-a f) (d e-c f) (f g-e h)}-\frac{h^2 \log (g+h x)}{(b g-a h) (d g-c h) (f g-e h)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 180
Rubi steps
\begin{align*} \int \frac{1}{(a+b x) (c+d x) (e+f x) (g+h x)} \, dx &=\int \left (\frac{b^3}{(b c-a d) (b e-a f) (b g-a h) (a+b x)}-\frac{d^3}{(b c-a d) (-d e+c f) (-d g+c h) (c+d x)}-\frac{f^3}{(b e-a f) (d e-c f) (-f g+e h) (e+f x)}-\frac{h^3}{(b g-a h) (d g-c h) (f g-e h) (g+h x)}\right ) \, dx\\ &=\frac{b^2 \log (a+b x)}{(b c-a d) (b e-a f) (b g-a h)}-\frac{d^2 \log (c+d x)}{(b c-a d) (d e-c f) (d g-c h)}+\frac{f^2 \log (e+f x)}{(b e-a f) (d e-c f) (f g-e h)}-\frac{h^2 \log (g+h x)}{(b g-a h) (d g-c h) (f g-e h)}\\ \end{align*}
Mathematica [A] time = 0.246551, size = 164, normalized size = 1.01 \[ \frac{b^2 \log (a+b x)}{(b c-a d) (b e-a f) (b g-a h)}-\frac{d^2 \log (c+d x)}{(b c-a d) (c f-d e) (c h-d g)}-\frac{f^2 \log (e+f x)}{(b e-a f) (d e-c f) (e h-f g)}-\frac{h^2 \log (g+h x)}{(b g-a h) (d g-c h) (f g-e h)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.007, size = 164, normalized size = 1. \begin{align*}{\frac{{d}^{2}\ln \left ( dx+c \right ) }{ \left ( ad-bc \right ) \left ( cf-de \right ) \left ( ch-dg \right ) }}-{\frac{{f}^{2}\ln \left ( fx+e \right ) }{ \left ( af-be \right ) \left ( cf-de \right ) \left ( eh-fg \right ) }}+{\frac{{h}^{2}\ln \left ( hx+g \right ) }{ \left ( ch-dg \right ) \left ( ah-bg \right ) \left ( eh-fg \right ) }}-{\frac{{b}^{2}\ln \left ( bx+a \right ) }{ \left ( ad-bc \right ) \left ( af-be \right ) \left ( ah-bg \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.28156, size = 419, normalized size = 2.57 \begin{align*} \frac{b^{2} \log \left (b x + a\right )}{{\left ({\left (b^{3} c - a b^{2} d\right )} e -{\left (a b^{2} c - a^{2} b d\right )} f\right )} g -{\left ({\left (a b^{2} c - a^{2} b d\right )} e -{\left (a^{2} b c - a^{3} d\right )} f\right )} h} - \frac{d^{2} \log \left (d x + c\right )}{{\left ({\left (b c d^{2} - a d^{3}\right )} e -{\left (b c^{2} d - a c d^{2}\right )} f\right )} g -{\left ({\left (b c^{2} d - a c d^{2}\right )} e -{\left (b c^{3} - a c^{2} d\right )} f\right )} h} + \frac{f^{2} \log \left (f x + e\right )}{{\left (b d e^{2} f + a c f^{3} -{\left (b c + a d\right )} e f^{2}\right )} g -{\left (b d e^{3} + a c e f^{2} -{\left (b c + a d\right )} e^{2} f\right )} h} - \frac{h^{2} \log \left (h x + g\right )}{b d f g^{3} - a c e h^{3} -{\left (b d e +{\left (b c + a d\right )} f\right )} g^{2} h +{\left (a c f +{\left (b c + a d\right )} e\right )} g h^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]